/*
 * Description: 增删改查组件
 * Author: wangyifei
 * DateCreated: 2024-04-25 11:00
 */

import type { RouterRes } from '@/service/login/type';

const crud: RouterRes[] = [
	{
		path: '/crud/w-table-pro',
		component: '/crud/Table/TableMain',
		meta: { title: '实现Table' }
	},
	{
		path: '/crud/antd-table',
		component: '/crud/AntdTable/AntdTable',
		meta: { title: 'antd-table' }
	},
	{
		path: '/crud/hook-modal',
		component: '/crud/HookModalView/HookModalView',
		meta: { title: 'Hook弹窗' }
	},
	{
		path: '/crud/hook-form',
		component: '/crud/HookFormView/HookFormView',
		meta: { title: 'HookForm' }
	},
	{
		path: '/crud/flexible',
		component: '/crud/Flexible/Flexible',
		meta: { title: '自适应剩余空间' }
	},
	{
		path: '/crud/table-pro',
		component: '/crud/TableProView/TableProView',
		meta: { title: '高级表格' }
	},
	{
		path: '/crud/form-pro',
		component: '/crud/FormProView/FormProView',
		meta: { title: '高级表单' }
	},
	{
		path: '/crud/modal-pro',
		component: '/crud/ModalProView/ModalProView',
		meta: { title: '高级弹窗' }
	}
];

export default crud;
